{template 'common/header'}
<div class="clearfix">
	<div class="alert alert-info">
		<i class="fa fa-info-circle"></i>
		会员消费时，会根据会员所在的会员组和会员卡里的这口设置进行折扣计算，并且可使用会员卡的积分抵消金额功能。<a href="{php echo url('mc/card');}" target="_blank">设置会员卡</a>
		<br/>
		<i class="fa fa-info-circle"></i>
		现金统计只统计实际收取的现金总额
	</div>
	<div class="clearfix menu">
		<h5 class="page-header">快捷交易</h5>
		<div class="clearfix">
			<a href="javascript:;" data-type="consume" class="tile img-rounded modal-trade">
				<i class="fa fa-usd"></i>
				<span>消费</span>
			</a>
			<a href="javascript:;"  data-type="credit2" class="tile img-rounded modal-trade">
				<i class="fa fa-cny"></i>
				<span>手动修改余额</span>
			</a>
			<a href="javascript:;"  data-type="credit1" class="tile img-rounded modal-trade">
				<i class="fa fa-money"></i>
				<span>手动修改积分</span>
			</a>
			<a href="javascript:;"  data-type="card" class="tile img-rounded modal-trade">
				<i class="fa fa-credit-card"></i>
				<span>发放会员卡</span>
			</a>
		</div>
		<h5 class="page-header">交易统计</h5>
		<div class="clearfix">
			<a href="{php echo url('mc/stat/chart', array('type' => 'cash'));}" class="tile img-rounded">
				<i class="fa fa-bar-chart"></i>
				<span>现金统计</span>
			</a>
			<a href="{php echo url('mc/stat/chart', array('type' => 'credit2'));}" target="_blank"  class="tile img-rounded">
				<i class="fa fa-bar-chart"></i>
				<span>余额统计</span>
			</a>
			<a href="{php echo url('mc/stat/chart', array('type' => 'credit1'));}" target="_blank"  class="tile img-rounded">
				<i class="fa fa-bar-chart"></i>
				<span>积分统计</span>
			</a>
		</div>
		<h5 class="page-header">交易明细查询</h5>
		<div class="clearfix">
			<a href="{php echo url('mc/stat/list', array('type' => 'cash'));}"  target="_blank"  class="tile img-rounded">
				<i class="fa fa-search"></i>
				<span>现金明细</span>
			</a>
			<a href="{php echo url('mc/stat/list', array('type' => 'credit2'));}"  target="_blank"  class="tile img-rounded">
				<i class="fa fa-search"></i>
				<span>余额明细</span>
			</a>
			<a href="{php echo url('mc/stat/list', array('type' => 'credit1'));}" target="_blank" class="tile img-rounded">
				<i class="fa fa-search"></i>
				<span>积分明细</span>
			</a>
		</div>
	</div>
</div>
<script>
	require(['trade', 'bootstrap'], function(trade){
		trade.init();
	});
</script>
{template 'common/footer'}
